#include "Stack.h"

int main()
{
	Stack s1;
	StackInit(&s1);
	StackPush(&s1, 1);
	StackPush(&s1, 2);
	StackPush(&s1, 3);
	StackPush(&s1, 4);
	StackPush(&s1, 40);

	Print(&s1);

	StackPop(&s1);
	StackPop(&s1);
	StackPop(&s1);
	StackPop(&s1);
	//StackPop(&s1);
	//StackPop(&s1);
	//Print(&s1);
	printf("%d\n", StackTop(&s1));

	printf("%d\n", StackSize(&s1));

	printf("%d\n", StackEmpty(&s1));

	StackDestroy(&s1);
	
	return 0;
}